﻿using StarryEdge.Core.Device;
using StarryEdge.Core.Enums;
using StarryEdge.Core.Models;
using StarryEdge.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StarryEdge.Devices
{
    public abstract class NormalDeviceBase
    {
        protected ICommunication _com;
        protected IStarryEdgeLog _edgeLog;
        protected Func<DeviceInfoModel, IDevice, bool> _func;

        public NormalDeviceBase(ICommunication com, IStarryEdgeLog edgeLog, Func<DeviceInfoModel, IDevice, bool> func)
        {
            _com = com;
            _edgeLog = edgeLog;
            _func = func;
        }
    }
}
